const express = require('express');
const router = express.Router();
const followerController = require('../controllers/followerController');
const authMiddleware = require('../middleware/auth');

router.post('/:following_id', authMiddleware, followerController.follow);

router.delete('/:following_id', authMiddleware, followerController.unfollow);

module.exports = router;